﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace todo.EntityFramework.Entities
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("do_book_record")]
    public class DoBookRecord
    {
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 书籍ID 
        ///</summary>
         [SugarColumn(ColumnName="book_id"    )]
         public int? BookId { get; set; }
        /// <summary>
        /// 对应章数 
        ///</summary>
         [SugarColumn(ColumnName="chapter"    )]
         public string Chapter { get; set; }
        /// <summary>
        /// 对应页数 
        ///</summary>
         [SugarColumn(ColumnName="page"    )]
         public int? Page { get; set; }
        /// <summary>
        /// 引用内容 
        ///</summary>
         [SugarColumn(ColumnName="content"    )]
         public string Content { get; set; }
        /// <summary>
        /// 评论 
        ///</summary>
         [SugarColumn(ColumnName="comment"    )]
         public string Comment { get; set; }
    }
}
